import request from "@/config/utils/request";

// 查询不同状态计量列表
export function listPageContractChanges(data) {
  return request({
    url: "/apis/smp/finstorage/listFinStoragePage",
    method: "POST",
    data
  });
}

// 主合同计量-删除计量信息
export function deleteMcConcMeasure(data) {
  return request({
    url: "/apis/gepma/mc/deleteMcConcMeasure",
    method: "POST",
    data
  });
}

// 主合同计量-撤回审批流程
export function revokeMeasureProcess(data) {
  return request({
    url: "/apis/gepma/mc/revokeMeasureProcess",
    method: "POST",
    data
  });
}

// 主合同统计-统计开累计量
export function getTotalMeasure(data) {
  return request({
    url: "/apis/gepma/mc/getTotalMeasure",
    method: "POST",
    data
  });
}
// 主合同统计-统计年累计量
export function getYearMeasure(data) {
  return request({
    url: "/apis/gepma/mc/getYearMeasure",
    method: "POST",
    data
  });
}

// 主合同登记-查询主合同基本信息
export function getContractInfo(data) {
  return request({
    url: "/apis/gepma/mc/getContractInfo",
    method: "POST",
    data
  });
}

// 入库台账导出
export function accountExport(data) {
  return request({
    url: "/apis/smp/finstorage/accountExport",
    method: "POST",
    data
  });
}